]> dgit.raspbian.org Git - gnome-shell.git/commit
swipeTracker: Simplify finding previous point
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Nov 2025 13:34:21 +0000 (14:34 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Nov 2025 13:34:21 +0000 (14:34 +0100)
commit8e29babca8adc677fcd5bc8457f497dd849ae884
treea835741897d3004fe5990a4eef68ac3dadadd76e
parent6d190da7114ee0e949e08c1eefc32a35b7074ce5
swipeTracker: Simplify finding previous point

We have findLastIndex() nowadays to search an array in reverse
direction.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3967>
js/ui/swipeTracker.js